package com.tt.annotation;

import lombok.Data;

/**
 * Redis锁
 * @author 青青
 */
@Data
public class RedisLockBean
{
    /**
     * Redis中的key
     */
    private String key;

    /**
     * 锁的有效时间
     */
    private int timeInSecond;
    private String codeName;
    private String msgName;
    private String code;
    private String msg;
    private boolean isAtController;
    private boolean isAtService;
    private boolean isAtParameter;
    private String returnType;
}
